<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../../../layui/css/layui.css">
    <link rel="stylesheet" href="../../../css/coursepage/editcourse.css">
</head>
<body>
<form class="layui-form" id="asd" action="JavaScript:;" lay-filter="formfilter">
    <input  style="display: none" type="text" id="video" name="video"  autocomplete="off" class="layui-input">
    <input  style="display: none" type="text" id="piano" name="piano"  autocomplete="off" class="layui-input">
    <input  style="display: none" type="text" id="time" name="time"  autocomplete="off" class="layui-input">
    <input id="id" name="id" style="display: none">
    <table border="1" style="width: 1050px">
        <tr>
            <td colspan="9" style="text-align: center;font-size: 20px">修改课程信息</td>
        </tr>
        <tr>
            <td>课程名称</td>
            <td colspan="2" ><input type="text" id="kcmc" name="name" placeholder="" autocomplete="off" class="layui-input" style="width: 200px;height: 43px"></td>
            <td>上传时间</td>
            <td colspan="2" ><input type="text" id="scsj" name="" placeholder="" autocomplete="off" class="layui-input" style="width: 200px;height: 43px"></td>
            <td>上传人</td>
            <td colspan="2" ><input type="text" id="scr" name="scname" placeholder="" autocomplete="off" class="layui-input" style="width: 200px;height: 43px"></td>
        </tr>
        <tr style="line-height: 50px">
            <td>课程售价</td>
            <td colspan="2" ><input type="text" id="kcsj" name="price" oninput="this.value=this.value.replace(/[^0-9]/g,'')"; placeholder="(只能输入数字)" autocomplete="off" class="layui-input" style="width: 200px;height: 43px"></td>
            <td>课程关键字</td>
            <td colspan="2" ><input type="text" id="kcgjz" name="courseKeyWords" placeholder="" autocomplete="off" class="layui-input" style="width: 200px;height: 43px"></td>
            <td>课程分类</td>
            <td colspan="2" ><input type="text" id="kcfl" name="classify" placeholder="" autocomplete="off" class="layui-input" style="width: 100px;height: 43px;float: left">
                <button type="button" id="selectadd" class="layui-btn layui-btn-sm" style="float: left;margin-top: 8px">选择分类</button>
            </td>
        </tr>
        <tr>
            <td>点赞量</td>
            <td colspan="2" ><input type="text" id="dzl" name="numberOfLikes" oninput="this.value=this.value.replace(/[^0-9]/g,'')"; placeholder="(只能输入数字)" autocomplete="off" class="layui-input" style="width: 200px;height: 43px"></td>
            <td>收藏量</td>
            <td colspan="2" ><input type="text" id="scl" name="amountOfCollection" placeholder=""oninput="this.value=this.value.replace(/[^0-9]/g,'')"; placeholder="(只能输入数字)" autocomplete="off" class="layui-input" style="width: 200px;height: 43px"></td>
            <td>评论量</td>
            <td colspan="2" ><input type="text" id="pll" name="amountOfComments" oninput="this.value=this.value.replace(/[^0-9]/g,'')"; placeholder="(只能输入数字)" autocomplete="off" class="layui-input" style="width: 200px;height: 43px"></td>
        </tr>
        <tr style="height: 150px">
            <td>课程介绍</td>
            <td colspan="8" ><input type="text" id="kxjs" name="courseIntroduction" placeholder="" autocomplete="off" class="layui-input" style="width: 956px;height: 146px"></td>
        </tr>
        <tr>
            <td colspan="9">课程封面图</td>
        </tr>
        <tr style="height: 150px">
            <td>预览图</td>
            <td colspan="8"><img class="layui-upload-img" id="demo1" width="150px" height="150px"></td>
        </tr>
        <tr>
            <td colspan="9"><button type="button" class="layui-btn" id="test1">更改图片</button></td>
        </tr>
        <tr>
            <td colspan="9">课程视频</td>
        </tr>
        <tr style="height: 250px">
            <td>预览：</td>
            <td colspan="8"></video><video src="" controls="controls" id="videoplay" style="width: 950px; height: 250px;"></video></td>
        </tr>
        <tr>
            <td colspan="9">
                <button type="button" class="layui-btn" id="uploadVideo"><i class="layui-icon">&#xe67c;</i>更改视频</button>
                <button type="button" class="layui-btn" id="deleteVideo"><i class="layui-icon"></i>删除视频</button>
            </td>
        </tr>
    </table>
    <div class="layui-input-block" style="margin-left: 500px">
        <button class="layui-btn" lay-submit lay-filter="formDemo">立即修改</button>
    </div>
</form>
<script src="../../../js/jquery-3.6.0.js"></script>
<script src="../../../layui/layui.js"></script>
<script src="../../../js/coursepage/editcourse.js"></script>
</body>
</html>
